package com.example.appuserserviceprovider.controller;

import org.example.appcommons.UserApi;
import org.example.appcommons.entity.User;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author linjl
 * @Date 2023-06-15
 */
@RestController
public class UserController implements UserApi {
    @Override
    public User getUser() {
        User user = new User();
        user.setName("lin");
        user.setAge(18);
        return user;
    }
}
